#include <iostream>
using namespace std;
#include "stock1.h"

int main() {
  cout.precision(2);
  cout.setf(ios_base::fixed, ios_base::floatfield);
  cout.setf(ios_base::showpoint);

  Stock s1("NanoSmart", 12, 20.0);
  s1.show();
  Stock s2 = Stock("Boffo Objects", 2, 2.2);
  s2.show();

  s2 = s1;
  s1.show();
  s2.show();

  s1 = Stock("Nifty Foods", 10, 50.0);
  s1.show();
  return 0;
}
